Skip to content

Replace em-dash with ASCII in UtilityProgressionPlot subtitle#4997

Closed
saitcakmak wants to merge 1 commit into
facebook:mainfrom
saitcakmak:export-D95828166
Closed

Replace em-dash with ASCII in UtilityProgressionPlot subtitle#4997
saitcakmak wants to merge 1 commit into
facebook:mainfrom
saitcakmak:export-D95828166

Conversation

@saitcakmak
Copy link
Copy Markdown
Contributor

Summary:
The UtilityProgressionPlot subtitle for MOO experiments contained a literal
em-dash (U+2014), which cannot be encoded in latin-1. When GAIN's daemon
scheduler finalizes a multi-objective experiment and saves the analysis card
to MySQL, MySQLdb encodes strings using latin-1 and raises
UnicodeEncodeError, causing the experiment to be marked as FAILED despite
all trials succeeding.

Replace the em-dash with " -- " to stay within the latin-1 character set.

Reviewed By: bernardbeckerman

Differential Revision: D95828166

Summary:
The UtilityProgressionPlot subtitle for MOO experiments contained a literal
em-dash (U+2014), which cannot be encoded in latin-1. When GAIN's daemon
scheduler finalizes a multi-objective experiment and saves the analysis card
to MySQL, MySQLdb encodes strings using latin-1 and raises
UnicodeEncodeError, causing the experiment to be marked as FAILED despite
all trials succeeding.

Replace the em-dash with " -- " to stay within the latin-1 character set.

Reviewed By: bernardbeckerman

Differential Revision: D95828166
@meta-cla meta-cla Bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Mar 9, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Mar 9, 2026

@saitcakmak has exported this pull request. If you are a Meta employee, you can view the originating Diff in D95828166.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.84%. Comparing base (3e8e4e7) to head (2520d00).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4997      +/-   ##
==========================================
- Coverage   96.84%   96.84%   -0.01%     
==========================================
  Files         601      601              
  Lines       64732    64732              
==========================================
- Hits        62690    62687       -3     
- Misses       2042     2045       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@meta-codesync meta-codesync Bot closed this in 1054802 Mar 9, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Mar 9, 2026

This pull request has been merged in 1054802.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants